

num=0
with open("/home/zjg/zjg.txt","r",encoding="UTF-8") as f:
    for n in f:
            num1 = n.count("itheima")
            num+=num1
print(f"itheima出现的次数为:{num}")
